// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Widgets\Layout\SBox.h"

/**
 * 
 */
class PYSHELF_API STreeItem_File : public SBox
{
public:
	SLATE_BEGIN_ARGS(STreeItem_File)
	{}
		SLATE_ARGUMENT(float, widthOverride)
		SLATE_ARGUMENT(float, heightOverride)
		SLATE_ARGUMENT(float, fillRatioTopBottom)
		SLATE_ARGUMENT(float, fillRatioLeftRight)
		SLATE_ARGUMENT(FString, buttonText)
		SLATE_ARGUMENT(FString, scriptPath)
	SLATE_END_ARGS()

	/** Constructs this widget with InArgs */
	void Construct(const FArguments& InArgs);
	
private:
	FString mScriptPath;
};
